package com.pzl.library.base;

import java.util.ArrayList;

/**
 * Created by zl.peng on 2016-03-25.
 */
public interface INode {
    public abstract void addChild(Node node);

    public abstract void removeChild(Node node);

    public abstract void clear();

    public abstract ArrayList<Node> treeToList();

    public abstract boolean isLeaf();
}
